<template>
	<div class="wait-wrap"></div>
</template>

<script>
	export default {
		onLoad() {
			let rememberMe = uni.getStorageSync("rememberMe")
			
			if (rememberMe) {
				uni.reLaunch({
					url: './index/index'
				})
			} else {
				uni.reLaunch({
					url: './login/login'
				});
			}
		},
	}
</script>

<style lang="scss" scoped>
	.wait-wrap {
		width: 100%;
		height: 100vh;
		background-color: #FFFFFF;
	}
</style>
